[IA64] kexec: Only map PAL when making EFI, PAL or SAL calls
Move PAL code from the Xen identity mapped region to the
EFI identity mapped region, which overlaps with guest virtual space.
Make sure that PAL memory is only pinned into the TLB when making
EFI, PAL or SAL calls.
This seems to be nice as it provides a symmetrical approach to
mapping an unmapping pal code.
However it would be just as safe, and arguably simpler just to map
the PAL code (once?) when the EFI RR is active - for instance very
early on in boot, or when calling XEN_EFI_RR_ENTER. In other words,
unpining is XEN_EFI_RR_LEAVE shouldn't be neccessary, as the EFI RR
should protect the memory from unwanted accesses by guests (or
the hypevisor for that matter).
This patch is mostly the work of Yamahata-san.
Cc: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Simon Horman <horms@verge.net.au>